package com.osfw.dbadminer.domain.database;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Getter
@Setter
@Accessors(chain = true)
public class SqlExecuteInfo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 执行语句
     */
    private String stmt;
    /**
     * 执行信息
     */
    private String msg;
    /**
     * 执行耗时（s）
     */
    private Double times;

    public SqlExecuteInfo() {
    }

    public SqlExecuteInfo(String stmt, String msg, Double times) {
        this.stmt = stmt;
        this.msg = msg;
        this.times = times;
    }

}
